package br.com.schs.sessionbeans;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.com.schs.entity.Estagiario;

@Stateless
public class EstagiarioSessionBean {

	@PersistenceContext
	private EntityManager entityManager;
	
	public void cadastrar(Estagiario estagiario) {
		entityManager.persist(estagiario);
	}
	
}
